<div class="clearfix avatar avatar-{{iconSize || 'xs'}}">
    <img ng-if="userData.avatar" class="avatar-icon"
        alt="{{userData.organisation}}/{{userData.name}}"
        uib-tooltip="{{userData.organisation}}/{{userData.name}}"
        data-ng-src=".{{userData.avatar}}"/>
    <div ng-if="!userData.avatar" class="avatar-icon" uib-tooltip="{{userData.organisation}}/{{userData.name}}">{{initials}}</div>
    <span ng-if="!iconOnly" class="avatar-name">{{userData.organisation}}/{{userData.name}}</span>
</div>
